* Last update: 02-03-2017
* Stata code creation_input_file_income create Excel File for_interpolation_byyear_XXX (where XXX is the type of income) that is used as an input for non-parametric generalized Pareto interpolations (Blanchet, Fournier, Piketty, 2016). This Stata code requires 3 inputs: averageincome_year (extracted either from Excel File DINAAppendixA or DINAAppendixC, see the link in the Excel file), dpercr_XXX and gpercr_XXX (see file GGP2016DINAAppendixC/DataFiles/Exporation/Results). This Stata code creates interpolated inverted Pareto coefficients for missing years using all available information for these years and for the years around.
* Interpolations obtained using http://apps.wid.world/gpinter/ accessed 02-03-2017
* Stata code use Excel File averageincome_year.xls. This Excel file is produced from National Accounts (see fomrulas).